package com.company.dao.impl;

import com.company.dao.UserDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @ClassName UserDaoImpl
 * @Description
 */
// <bean id="userDao" class="com.company.dao.impl.UserDaoImpl"></bean>
@Repository("userDao")
public class UserDaoImpl implements UserDao {

    @Value("${staticStr}")
    private String staticStr;

    @Override
    public void save() {
        System.out.println(staticStr);
        System.out.println("UserDaoImpl 进行保存数据 ······ ");
    }
}
